<?php

namespace App\Http\Controllers;


use App\Models\Cate;

class CateController extends ApiController
{
    public function list(){
        $list = Cate::query()->get();
        return self::returnAjax(['list'=>$list], 200);
    }
}
